home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / gdb-4.5 / ds3100.md / gdb / RCS / xm-mips.h,v < prev   
Encoding:
Text File  |  1992-07-01  |  2.0 KB  |  82 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.1
  10. date     92.06.17.11.48.47;  author secor;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @/* Definitions to make GDB run on a mips box under 4.3bsd.
  26.    Copyright (C) 1986, 1987, 1989 Free Software Foundation, Inc.
  27.    Contributed by Per Bothner(bothner@@cs.wisc.edu) at U.Wisconsin
  28.    and by Alessandro Forin(af@@cs.cmu.edu) at CMU
  29.  
  30. This file is part of GDB.
  31.  
  32. This program is free software; you can redistribute it and/or modify
  33. it under the terms of the GNU General Public License as published by
  34. the Free Software Foundation; either version 2 of the License, or
  35. (at your option) any later version.
  36.  
  37. This program is distributed in the hope that it will be useful,
  38. but WITHOUT ANY WARRANTY; without even the implied warranty of
  39. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  40. GNU General Public License for more details.
  41.  
  42. You should have received a copy of the GNU General Public License
  43. along with this program; if not, write to the Free Software
  44. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  45.  
  46. #ifdef sprite
  47. #include <kernel/vmPmaxConst.h>
  48. #define NBPG VMMACH_PAGE_SIZE
  49. #define UPAGES 0
  50. #endif
  51.  
  52. #if !defined (HOST_BYTE_ORDER)
  53. #define HOST_BYTE_ORDER LITTLE_ENDIAN
  54. #endif
  55.  
  56. /* Get rid of any system-imposed stack limit if possible */
  57.  
  58. #define    SET_STACK_LIMIT_HUGE
  59.  
  60. #define KERNEL_U_ADDR 0 /* Not needed. */
  61.  
  62. #ifdef ultrix
  63. extern char *strdup();
  64. #endif
  65.  
  66. /* Only used for core files on DECstations. */
  67.  
  68. #define REGISTER_U_ADDR(addr, blockend, regno)         \
  69.     if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\
  70.     else addr = 0; /* ..somewhere in the pcb */
  71.  
  72. /* Do implement the attach and detach commands.  */
  73.  
  74. #define ATTACH_DETACH
  75.  
  76. /* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
  77. #define FETCH_INFERIOR_REGISTERS
  78.  
  79. /* Kernel is a bit tenacious about sharing text segments, disallowing bpts.  */
  80. #define    ONE_PROCESS_WRITETEXT
  81. @
  82.